<template>
    <div class="movie">
        <h1>你喜欢的电影</h1>
        <ul>
            <li v-for="item in privateList" :key="item.tvId">{{item.albumName}}</li>
        </ul>
        <hr>
        <ul>
            <li v-for="item in myPrivateList" :key="item.tvId">{{item.albumName}}</li>
        </ul>
    </div>
</template>

<script>
import { mapGetters } from 'vuex'
    export default {
        name : 'List',
        computed:{
            ...mapGetters(["privateList"]),

            myPrivateList(){
                return this.$store.getters.myPrivateList({stare : 1 , end : 4})
            }
        }
    }
</script>

<style scoped>
.movie {
  background: pink;
  margin: 30px;
}
</style>